package com.atguigu.springcloud.dao;

import com.atguigu.springcloud.entities.CommonResult;
import com.atguigu.springcloud.pojo.Account;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author: robert.song
 * @Date: Created in 2021/12/15
 */
@Mapper
public interface AccountDao {
    void decrease(@Param("money") Double money, @Param("userId") Long userId);
}
